package com.project.shtp.pojo.web.vo;

import java.util.Arrays;
import java.util.Date;

public class UserOrderWithGoods {
    int orderId;
    int itemId;
    int statusId;
    String statusName;
    Date orderCreateTime;
    Date orderEnsureTime;
    Double goodsPrice;
    String goodsTitle;
    byte[] goodsImage;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getItemId() {
        return itemId;
    }

    public void setItemId(int itemId) {
        this.itemId = itemId;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public UserOrderWithGoods(int orderId, int itemId, int statusId, String statusName, Date orderCreateTime, Date orderEnsureTime, Double goodsPrice, String goodsTitle, byte[] goodsImage) {
        this.orderId = orderId;
        this.itemId = itemId;
        this.statusId = statusId;
        this.statusName = statusName;
        this.orderCreateTime = orderCreateTime;
        this.orderEnsureTime = orderEnsureTime;
        this.goodsPrice = goodsPrice;
        this.goodsTitle = goodsTitle;
        this.goodsImage = goodsImage;
    }

    @Override
    public String toString() {
        return "UserOrderWithGoods{" +
                "orderId=" + orderId +
                ", itemId=" + itemId +
                ", statusId=" + statusId +
                ", statusName='" + statusName + '\'' +
                ", orderCreateTime=" + orderCreateTime +
                ", orderEnsureTime=" + orderEnsureTime +
                ", goodsPrice=" + goodsPrice +
                ", goodsTitle='" + goodsTitle + '\'' +
                ", goodsImage=" + Arrays.toString(goodsImage) +
                '}';
    }

    public Date getOrderEnsureTime() {
        return orderEnsureTime;
    }

    public void setOrderEnsureTime(Date orderEnsureTime) {
        this.orderEnsureTime = orderEnsureTime;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public void setGoodsTitle(String goodsTitle) {
        this.goodsTitle = goodsTitle;
    }

    public byte[] getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(byte[] goodsImage) {
        this.goodsImage = goodsImage;
    }
}
